# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: karnath <karnathtorjian@gmail.com>

pkgname=zathura-ps
pkgver=0.2.1
pkgrel=1
pkgdesc="Adds ps support to zathura by using the libspectre library"
arch=('i686' 'x86_64')
url="https://pwmt.org/projects/zathura/plugins/zathura-ps/"
license=('custom')
depends=('libspectre' 'zathura')
source=(https://pwmt.org/projects/zathura/plugins/download/zathura-ps-$pkgver.tar.gz)
md5sums=('45619e744b69bf16b408b50cf32f2df5')

build(){
  make -C "$pkgname-$pkgver"
}

package(){
  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
  install -Dm0644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
